|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectalgalcommand.io.FileHelper
public abstract class FileHelper
A Utility class for handling common File IO operations.
Copyright Owner: Michigan State University, license number TEC2011-002101Prov
| Constructor Summary | |
|---|---|
FileHelper()
|
|
| Method Summary | |
|---|---|
static java.io.File |
makeLocalFile(java.lang.String localfolder,
java.lang.String filename,
boolean makedir)
Makes a local folder and references a file in that folder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileHelper()
| Method Detail |
|---|
public static java.io.File makeLocalFile(java.lang.String localfolder,
java.lang.String filename,
boolean makedir)
localfolder - Name of the local folder that the file will be in. Use
"." for 'no folder'.filename - The name of the file in that folder that you want to
reference.makedir - Whether or not to create a folder if the folder does not
already exists. This chould be true when you want to save to
the file, and false when we are only interested in testing
whether or not the file exists.
File object referencing the specified local file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||